#ifndef _LOG_H_
#define _LOG_H_

#define LOG_MAX_BYTES LOG_ENTRIES*sizeof(log_row_t)

//Log file struct
typedef struct{
	log_row_t *rows;
	unsigned int size;
} logFile_t;

static int initLog(void);
static int writeLog(unsigned int src_ip, unsigned int dst_ip, unsigned short src_port, unsigned short dst_port,
					 unsigned char protocol, unsigned char action, signed int reason, unsigned char hooknum);
static void clearLog(void);
static void printLog(void);
#endif
